Skip to content

Conversation

janedbal
Copy link
Contributor

@janedbal janedbal commented Nov 22, 2024

stubs/core.stub Outdated
* @param-out int $rest_index
* @return __benevolent<array<string,string>|array<string,false>|array<string,list<mixed>>|false>
*/
function getopt(string $short_options, array $long_options = [], int &$rest_index = null): array|false {}
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should I delete the entry from functionMap?

@janedbal janedbal changed the base branch from 2.0.x to 2.1.x March 4, 2025 12:50
@janedbal janedbal requested a review from ondrejmirtes March 4, 2025 13:12
@ondrejmirtes ondrejmirtes merged commit 99299a2 into phpstan:2.1.x Apr 15, 2025
415 of 417 checks passed
@ondrejmirtes
Copy link
Member

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

getopt() function missing @param-out int for $rest_index

2 participants